package com.ds.lens.data.vo.in.v2.monitor.state;

import com.ds.lens.data.common.constant.MonitorStateEnum;
import lombok.Getter;
import lombok.Setter;

import javax.validation.constraints.NotNull;
import java.util.List;

/**
 * @author WeiShaoying
 * @date 2019/11/14 上午11:26
 */
@Setter
@Getter
public class LensMonitorStateInVO {

    @NotNull(message = "监控id不能为空")
    private Long monitorId;

    @NotNull(message = "监控版本不能为空")
    private Integer version;

    private String target;

    private List<MonitorStateEnum> status;

    @NotNull(message = "开始时间不能为空")
    private Long startTime;
    @NotNull(message = "结束时间不能为空")
    private Long endTime;
}
